Optimal. Leaf size=145 \[ \frac {3 \cot ^5(c+d x)}{5 a^3 d}+\frac {13 \cot ^7(c+d x)}{7 a^3 d}+\frac {7 \cot ^9(c+d x)}{3 a^3 d}+\frac {15 \cot ^{11}(c+d x)}{11 a^3 d}+\frac {4 \cot ^{13}(c+d x)}{13 a^3 d}-\frac {\csc ^9(c+d x)}{3 a^3 d}+\frac {7 \csc ^{11}(c+d x)}{11 a^3 d}-\frac {4 \csc ^{13}(c+d x)}{13 a^3 d} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.30, antiderivative size = 145, normalized size of antiderivative = 1.00, number of steps
used = 16, number of rules used = 7, integrand size = 21, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.333, Rules used = {3957, 2954,
2952, 2687, 276, 2686, 14} \begin {gather*} \frac {4 \cot ^{13}(c+d x)}{13 a^3 d}+\frac {15 \cot ^{11}(c+d x)}{11 a^3 d}+\frac {7 \cot ^9(c+d x)}{3 a^3 d}+\frac {13 \cot ^7(c+d x)}{7 a^3 d}+\frac {3 \cot ^5(c+d x)}{5 a^3 d}-\frac {4 \csc ^{13}(c+d x)}{13 a^3 d}+\frac {7 \csc ^{11}(c+d x)}{11 a^3 d}-\frac {\csc ^9(c+d x)}{3 a^3 d} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 14
Rule 276
Rule 2686
Rule 2687
Rule 2952
Rule 2954
Rule 3957
Rubi steps
\begin {align*} \int \frac {\csc ^8(c+d x)}{(a+a \sec (c+d x))^3} \, dx &=-\int \frac {\cot ^3(c+d x) \csc ^5(c+d x)}{(-a-a \cos (c+d x))^3} \, dx\\ &=-\frac {\int (-a+a \cos (c+d x))^3 \cot ^3(c+d x) \csc ^{11}(c+d x) \, dx}{a^6}\\ &=\frac {\int \left (-a^3 \cot ^6(c+d x) \csc ^8(c+d x)+3 a^3 \cot ^5(c+d x) \csc ^9(c+d x)-3 a^3 \cot ^4(c+d x) \csc ^{10}(c+d x)+a^3 \cot ^3(c+d x) \csc ^{11}(c+d x)\right ) \, dx}{a^6}\\ &=-\frac {\int \cot ^6(c+d x) \csc ^8(c+d x) \, dx}{a^3}+\frac {\int \cot ^3(c+d x) \csc ^{11}(c+d x) \, dx}{a^3}+\frac {3 \int \cot ^5(c+d x) \csc ^9(c+d x) \, dx}{a^3}-\frac {3 \int \cot ^4(c+d x) \csc ^{10}(c+d x) \, dx}{a^3}\\ &=-\frac {\text {Subst}\left (\int x^{10} \left (-1+x^2\right ) \, dx,x,\csc (c+d x)\right )}{a^3 d}-\frac {\text {Subst}\left (\int x^6 \left (1+x^2\right )^3 \, dx,x,-\cot (c+d x)\right )}{a^3 d}-\frac {3 \text {Subst}\left (\int x^8 \left (-1+x^2\right )^2 \, dx,x,\csc (c+d x)\right )}{a^3 d}-\frac {3 \text {Subst}\left (\int x^4 \left (1+x^2\right )^4 \, dx,x,-\cot (c+d x)\right )}{a^3 d}\\ &=-\frac {\text {Subst}\left (\int \left (-x^{10}+x^{12}\right ) \, dx,x,\csc (c+d x)\right )}{a^3 d}-\frac {\text {Subst}\left (\int \left (x^6+3 x^8+3 x^{10}+x^{12}\right ) \, dx,x,-\cot (c+d x)\right )}{a^3 d}-\frac {3 \text {Subst}\left (\int \left (x^8-2 x^{10}+x^{12}\right ) \, dx,x,\csc (c+d x)\right )}{a^3 d}-\frac {3 \text {Subst}\left (\int \left (x^4+4 x^6+6 x^8+4 x^{10}+x^{12}\right ) \, dx,x,-\cot (c+d x)\right )}{a^3 d}\\ &=\frac {3 \cot ^5(c+d x)}{5 a^3 d}+\frac {13 \cot ^7(c+d x)}{7 a^3 d}+\frac {7 \cot ^9(c+d x)}{3 a^3 d}+\frac {15 \cot ^{11}(c+d x)}{11 a^3 d}+\frac {4 \cot ^{13}(c+d x)}{13 a^3 d}-\frac {\csc ^9(c+d x)}{3 a^3 d}+\frac {7 \csc ^{11}(c+d x)}{11 a^3 d}-\frac {4 \csc ^{13}(c+d x)}{13 a^3 d}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 1.15, size = 265, normalized size = 1.83 \begin {gather*} -\frac {\csc (c) \csc ^7(c+d x) \sec ^3(c+d x) (49201152 \sin (c)-6336512 \sin (d x)-2764580 \sin (c+d x)-1382290 \sin (2 (c+d x))+1275960 \sin (3 (c+d x))+1336720 \sin (4 (c+d x))-60760 \sin (5 (c+d x))-524055 \sin (6 (c+d x))-167090 \sin (7 (c+d x))+60760 \sin (8 (c+d x))+45570 \sin (9 (c+d x))+7595 \sin (10 (c+d x))+20500480 \sin (2 c+d x)-23668736 \sin (c+2 d x)+30750720 \sin (3 c+2 d x)-6537216 \sin (2 c+3 d x)-6848512 \sin (3 c+4 d x)+311296 \sin (4 c+5 d x)+2684928 \sin (5 c+6 d x)+856064 \sin (6 c+7 d x)-311296 \sin (7 c+8 d x)-233472 \sin (8 c+9 d x)-38912 \sin (9 c+10 d x))}{984023040 a^3 d (1+\sec (c+d x))^3} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 0.14, size = 138, normalized size = 0.95
method | result | size |
derivativedivides | \(\frac {-\frac {\left (\tan ^{13}\left (\frac {d x}{2}+\frac {c}{2}\right )\right )}{13}-\frac {4 \left (\tan ^{11}\left (\frac {d x}{2}+\frac {c}{2}\right )\right )}{11}-\frac {\left (\tan ^{9}\left (\frac {d x}{2}+\frac {c}{2}\right )\right )}{3}+\frac {8 \left (\tan ^{7}\left (\frac {d x}{2}+\frac {c}{2}\right )\right )}{7}+\frac {14 \left (\tan ^{5}\left (\frac {d x}{2}+\frac {c}{2}\right )\right )}{5}-14 \tan \left (\frac {d x}{2}+\frac {c}{2}\right )-\frac {1}{7 \tan \left (\frac {d x}{2}+\frac {c}{2}\right )^{7}}-\frac {4}{5 \tan \left (\frac {d x}{2}+\frac {c}{2}\right )^{5}}-\frac {1}{\tan \left (\frac {d x}{2}+\frac {c}{2}\right )^{3}}+\frac {8}{\tan \left (\frac {d x}{2}+\frac {c}{2}\right )}}{1024 d \,a^{3}}\) | \(138\) |
default | \(\frac {-\frac {\left (\tan ^{13}\left (\frac {d x}{2}+\frac {c}{2}\right )\right )}{13}-\frac {4 \left (\tan ^{11}\left (\frac {d x}{2}+\frac {c}{2}\right )\right )}{11}-\frac {\left (\tan ^{9}\left (\frac {d x}{2}+\frac {c}{2}\right )\right )}{3}+\frac {8 \left (\tan ^{7}\left (\frac {d x}{2}+\frac {c}{2}\right )\right )}{7}+\frac {14 \left (\tan ^{5}\left (\frac {d x}{2}+\frac {c}{2}\right )\right )}{5}-14 \tan \left (\frac {d x}{2}+\frac {c}{2}\right )-\frac {1}{7 \tan \left (\frac {d x}{2}+\frac {c}{2}\right )^{7}}-\frac {4}{5 \tan \left (\frac {d x}{2}+\frac {c}{2}\right )^{5}}-\frac {1}{\tan \left (\frac {d x}{2}+\frac {c}{2}\right )^{3}}+\frac {8}{\tan \left (\frac {d x}{2}+\frac {c}{2}\right )}}{1024 d \,a^{3}}\) | \(138\) |
risch | \(\frac {32 i \left (15015 \,{\mathrm e}^{12 i \left (d x +c \right )}+10010 \,{\mathrm e}^{11 i \left (d x +c \right )}+24024 \,{\mathrm e}^{10 i \left (d x +c \right )}+3094 \,{\mathrm e}^{9 i \left (d x +c \right )}+11557 \,{\mathrm e}^{8 i \left (d x +c \right )}+3192 \,{\mathrm e}^{7 i \left (d x +c \right )}+3344 \,{\mathrm e}^{6 i \left (d x +c \right )}-152 \,{\mathrm e}^{5 i \left (d x +c \right )}-1311 \,{\mathrm e}^{4 i \left (d x +c \right )}-418 \,{\mathrm e}^{3 i \left (d x +c \right )}+152 \,{\mathrm e}^{2 i \left (d x +c \right )}+114 \,{\mathrm e}^{i \left (d x +c \right )}+19\right )}{15015 a^{3} d \left ({\mathrm e}^{i \left (d x +c \right )}+1\right )^{13} \left ({\mathrm e}^{i \left (d x +c \right )}-1\right )^{7}}\) | \(170\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A]
time = 0.28, size = 214, normalized size = 1.48 \begin {gather*} -\frac {\frac {\frac {210210 \, \sin \left (d x + c\right )}{\cos \left (d x + c\right ) + 1} - \frac {42042 \, \sin \left (d x + c\right )^{5}}{{\left (\cos \left (d x + c\right ) + 1\right )}^{5}} - \frac {17160 \, \sin \left (d x + c\right )^{7}}{{\left (\cos \left (d x + c\right ) + 1\right )}^{7}} + \frac {5005 \, \sin \left (d x + c\right )^{9}}{{\left (\cos \left (d x + c\right ) + 1\right )}^{9}} + \frac {5460 \, \sin \left (d x + c\right )^{11}}{{\left (\cos \left (d x + c\right ) + 1\right )}^{11}} + \frac {1155 \, \sin \left (d x + c\right )^{13}}{{\left (\cos \left (d x + c\right ) + 1\right )}^{13}}}{a^{3}} + \frac {429 \, {\left (\frac {28 \, \sin \left (d x + c\right )^{2}}{{\left (\cos \left (d x + c\right ) + 1\right )}^{2}} + \frac {35 \, \sin \left (d x + c\right )^{4}}{{\left (\cos \left (d x + c\right ) + 1\right )}^{4}} - \frac {280 \, \sin \left (d x + c\right )^{6}}{{\left (\cos \left (d x + c\right ) + 1\right )}^{6}} + 5\right )} {\left (\cos \left (d x + c\right ) + 1\right )}^{7}}{a^{3} \sin \left (d x + c\right )^{7}}}{15375360 \, d} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A]
time = 3.88, size = 214, normalized size = 1.48 \begin {gather*} \frac {304 \, \cos \left (d x + c\right )^{10} + 912 \, \cos \left (d x + c\right )^{9} - 152 \, \cos \left (d x + c\right )^{8} - 2888 \, \cos \left (d x + c\right )^{7} - 1862 \, \cos \left (d x + c\right )^{6} + 2926 \, \cos \left (d x + c\right )^{5} + 3325 \, \cos \left (d x + c\right )^{4} - 665 \, \cos \left (d x + c\right )^{3} - 35 \, \cos \left (d x + c\right )^{2} + 210 \, \cos \left (d x + c\right ) + 70}{15015 \, {\left (a^{3} d \cos \left (d x + c\right )^{9} + 3 \, a^{3} d \cos \left (d x + c\right )^{8} - 8 \, a^{3} d \cos \left (d x + c\right )^{6} - 6 \, a^{3} d \cos \left (d x + c\right )^{5} + 6 \, a^{3} d \cos \left (d x + c\right )^{4} + 8 \, a^{3} d \cos \left (d x + c\right )^{3} - 3 \, a^{3} d \cos \left (d x + c\right ) - a^{3} d\right )} \sin \left (d x + c\right )} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F(-1)] Timed out
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Timed out} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A]
time = 0.53, size = 163, normalized size = 1.12 \begin {gather*} \frac {\frac {429 \, {\left (280 \, \tan \left (\frac {1}{2} \, d x + \frac {1}{2} \, c\right )^{6} - 35 \, \tan \left (\frac {1}{2} \, d x + \frac {1}{2} \, c\right )^{4} - 28 \, \tan \left (\frac {1}{2} \, d x + \frac {1}{2} \, c\right )^{2} - 5\right )}}{a^{3} \tan \left (\frac {1}{2} \, d x + \frac {1}{2} \, c\right )^{7}} - \frac {1155 \, a^{36} \tan \left (\frac {1}{2} \, d x + \frac {1}{2} \, c\right )^{13} + 5460 \, a^{36} \tan \left (\frac {1}{2} \, d x + \frac {1}{2} \, c\right )^{11} + 5005 \, a^{36} \tan \left (\frac {1}{2} \, d x + \frac {1}{2} \, c\right )^{9} - 17160 \, a^{36} \tan \left (\frac {1}{2} \, d x + \frac {1}{2} \, c\right )^{7} - 42042 \, a^{36} \tan \left (\frac {1}{2} \, d x + \frac {1}{2} \, c\right )^{5} + 210210 \, a^{36} \tan \left (\frac {1}{2} \, d x + \frac {1}{2} \, c\right )}{a^{39}}}{15375360 \, d} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [B]
time = 2.13, size = 249, normalized size = 1.72 \begin {gather*} -\frac {2145\,{\cos \left (\frac {c}{2}+\frac {d\,x}{2}\right )}^{20}+12012\,{\cos \left (\frac {c}{2}+\frac {d\,x}{2}\right )}^{18}\,{\sin \left (\frac {c}{2}+\frac {d\,x}{2}\right )}^2+15015\,{\cos \left (\frac {c}{2}+\frac {d\,x}{2}\right )}^{16}\,{\sin \left (\frac {c}{2}+\frac {d\,x}{2}\right )}^4-120120\,{\cos \left (\frac {c}{2}+\frac {d\,x}{2}\right )}^{14}\,{\sin \left (\frac {c}{2}+\frac {d\,x}{2}\right )}^6+210210\,{\cos \left (\frac {c}{2}+\frac {d\,x}{2}\right )}^{12}\,{\sin \left (\frac {c}{2}+\frac {d\,x}{2}\right )}^8-42042\,{\cos \left (\frac {c}{2}+\frac {d\,x}{2}\right )}^8\,{\sin \left (\frac {c}{2}+\frac {d\,x}{2}\right )}^{12}-17160\,{\cos \left (\frac {c}{2}+\frac {d\,x}{2}\right )}^6\,{\sin \left (\frac {c}{2}+\frac {d\,x}{2}\right )}^{14}+5005\,{\cos \left (\frac {c}{2}+\frac {d\,x}{2}\right )}^4\,{\sin \left (\frac {c}{2}+\frac {d\,x}{2}\right )}^{16}+5460\,{\cos \left (\frac {c}{2}+\frac {d\,x}{2}\right )}^2\,{\sin \left (\frac {c}{2}+\frac {d\,x}{2}\right )}^{18}+1155\,{\sin \left (\frac {c}{2}+\frac {d\,x}{2}\right )}^{20}}{15375360\,a^3\,d\,{\cos \left (\frac {c}{2}+\frac {d\,x}{2}\right )}^{13}\,{\sin \left (\frac {c}{2}+\frac {d\,x}{2}\right )}^7} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________